package com.luxsun.test;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Lux Sun
 * @date 2021/7/15
 */
@RestController
@RequestMapping("/test")
public class App {

    @GetMapping("/heart")
    public String checkHealth() {
        return "OK!";
    }
}
